#a guessing game where a number 1 through 100 is generated and the user gets 3 tries to guess
#Fine imports
import random

rando = random.randint(1,100)

#not sure if int is necessary on rando3 is rando
#checking if rando3 is rando is to avoid having all three be the same number
#this way lies will always be a different number. probably a better way to do that

#################
#yes, I'm well aware this might be useless
################

#debug show number toggle
debug = 0
##########################################

tries = 0
intro = "WELCOME! I have right here a number. You have three tries to guess it!"
FirstGuess = "Tell me what you think the number is?"
retry = 'Hmm... \n*checks notes* \nThat number is wrong. \nTry again!', 'You go \nSorry, I read that wrong. \nYou didn\'t get it right. \nTry again.', 'Aww. Wrong number.\nTry again!'
lasttry = 'One more time!\nYou can do it!', 'IT IS THE FINAL ROUND OF THE MATCH!\nFIGHT!', 'This is your last chance!\nWhat is your guess?'
victory = 'You did it!', 'Congratulations!', 'You won!', 'Victory!'
gameover = 'You tried your best! \nBut.... this is a guessing game so you really couldn\'t do much', 'Sorry, all those guesses are wrong :(', 'All were wrong, try again later!'

answers = []
#print rando
if debug == 1:
	print "debug is on"
	print "A mysterious force tells you: " , rando

	
	print "!!!!!!!!!!!!!  \n\n\n\n !!!!!!!!!!!!!!!!!!!!!"
	#print retry[1]
	#print random.choice(liestable), lies
#Intro and request input number
#I feel like I hacked together the multi answers stuff... but it seems to work
print intro
print "Tell me a number between 1 and 100!"
answer = input("My guess is: ")
answers.append(answer)
while tries < 2 and answer != rando:
	answer = input("My guess is: ")
	answers.append(answer)
	tries += 1
	if debug == 1:
		print answer
	
if answer == rando:
	print random.choice(victory)
	if debug == 1:
		print rando
elif tries == 2:
	print random.choice(gameover)
	print rando


#


